#类型
a =23
b=23.45
c=2j+56

d=True
e=False

f='sss'

g=[1,2,3,4]#list
j=(1,2,3,4)#tuple 不可变，不要用
k={2,3,4,5}#集合
w={'name':'susbai'}# 字典

def aa(a,b):
    return a,b
def bb(fun):
    fun(1)

def cc(a,*args):
    pass

def dd(a,**kwargs):
    pass

def ff(aa,fun):
    return fun()

class A(object):
    def __init__(self,name):
        self.name=name
    def __del__(self):
        pass
    def info(self):
        print(self.name)
    @staticmethod
    def sz():
        pass

    @classmethod
    def czs(cls,name):
        return cls(name)


class  B(object):
    pass

class C(B):
    pass

class D(A,B):
    pass


a1=0
try:
    c1=23/a1
except ValueError as e:
    print(e)
except ZeroDivisionError as z:
    print(z)
else:
    print("wwwwww")
finally:
    print('wwwww')

class Myele(Exception):
    pass

try:
    ff=23/a1
    raise Myele('异常了')
finally:
    print('wwww')

from  modu import  a,m as mm
import  modu
